package com.powernode.service;

import com.powernode.Dao.CarMapper;
import com.powernode.pojos.Car;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName:CarServiceimpl
 * <p>
 * Description:
 *
 * @author hacker
 * @Create 2024/2/22 16:59
 * @Version 1.0
 */
@Service("se")
public class CarServiceimpl implements CarService{
    @Autowired
    private CarMapper  cm;
    @Override
    public void searchbyid(int i) {
        Car selecrbyid = cm.selecrbyid(2);
        System.out.println(selecrbyid);
    }
}
